<div class="container">
    <div class="panel dux-box">
        <div class="panel-tool">
            <form method="post" action="{url()}">
                <div class="form-inline">
                    <div class="form-group">
                        <div class="field">
                            <input type="text" class="input" id="keyword" name="keyword" size="20" value="{$pageMaps.keyword}" placeholder="ID/标题/用户名">
                        </div>
                    </div>
                    <div class="form-button">
                        <button class="button" type="submit">搜索</button>
                    </div>
                </div>
            </form>
        </div>
        <table id="table" class="table table-hover thread-list">
            <tbody>
                <tr>
                    <th width="100">编号</th>
                    <th width="*">标题</th>
                    <th width="*">板块</th>
                    <th width="*">作者</th>
                    <th width="100">操作</th>
                </tr>
                <!--if{!empty($pageList)}-->
                <!--loop{$pageList as $vo}-->
                <tr>
                    <td>{$vo.thread_id}</td>
                    <td><a href="{$vo.aurl}" target="_blank">{$vo.title}</a>
                    </td>
                    <td><a href="{$vo.curl}" target="_blank">{$vo.class_name}</a>
                    </td>
                    <td><a href="{url('forum/UserHome/index',array('user_id'=>$vo['post_user']))}" target="_blank">{$vo.post_username}</a>
                    </td>
                    <td>
                        <a class="button bg-main button-small icon-pencil" href="{url('forum/Thread/manage',array('thread_id'=>$vo['thread_id']))}" target="_blank" title="管理"></a>
                        <a class="button bg-red button-small icon-trash-o js-del" href="javascript:;" url="{url('del')}" data="{$vo.thread_id}" title="删除"></a>
                    </td>
                </tr>
                <!--{/loop}-->
                <!--{/if}-->
            </tbody>
        </table>
        <div class="panel-foot">{$page}</div>
    </div>
    <br>
</div>
<script>
    Do.ready('base', function () {
        $('#table').duxTable({});
    });
</script>